package edu.iscas.xcheck.analysis;

import static org.junit.Assert.*;

import org.junit.Test;

import edu.iscas.xcheck.analysis.controller.AnalysisController;
import edu.iscas.xcheck.analysis.model.AnalysisConfig;
import edu.iscas.xcheck.analysis.model.AnalysisLog;
import edu.iscas.xcheck.analysis.model.Platform;

public class AnalysisCase {

	@Test
	public void test() {
//		AnalysisController ac = new AnalysisController();
//		AnalysisLog[] als = new AnalysisLog[4];
//		AnalysisLog al0 = new AnalysisLog();
//		al0.setLogId("675c3590-5aa8-11e5-8efa-c9ce61f75516");
//		al0.setPageNum(1);
//		als[0] = al0;
//		
//		AnalysisLog al1 = new AnalysisLog();
//		al1.setLogId("91e023e2-4cb1-4b72-add5-8b0c38526b92");
//		al1.setPageNum(1);
//		als[1] = al1;
//		
//		AnalysisLog al2 = new AnalysisLog();
//		al2.setLogId("ca6b8231-4c7d-483f-93a5-51d70ec320bf");
//		al2.setPageNum(1);
//		als[2] = al2;
//		
//		AnalysisLog al3 = new AnalysisLog();
//		al3.setLogId("205754a4-4791-4b37-95fe-e059108a8970");
//		al3.setPageNum(1);
//		als[3] = al3;
//		
//		Platform refPF = new Platform("CHROME", "45");
//		Platform[] testPFs = new Platform[1];
//		testPFs[0] = new Platform("FIREFOX", "40");
//		AnalysisConfig config = new AnalysisConfig("675c3590-5aa8-11e5-8efa-c9ce61f75516", als, 
//				refPF, testPFs);
//		
//		ac.doAnalysis(config);
	}

}
